package com.meilai.project.dto.business.installOrder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
@ApiModel(value = "请求对象-web批量替换工单点位对象", description = "请求对象-web替换工单点位")
public class WebBatchReplacePointDTO {
    @NotNull(message = "工单id，work_order表的id")
    @ApiModelProperty(value = "工单id", required = true)
    private Long work_order_id;

    @NotNull(message = "原设备id集合")
    @ApiModelProperty(value = "原设备id集合", required = true)
    @Size(min = 1)
    private List<Long> old_device_ids;

    @NotNull(message = "现设备id集合")
    @ApiModelProperty(value = "现设备id集合", required = true)
    @Size(min = 1)
    private List<Long> new_device_ids;
}
